<?php
$id = $_POST["id"];
require("../../../conn/conn.php");
//只显示未被接取的任务
$sql = "select * from work_info where work_id = '$id'";
$result = mysqli_query($conn,$sql);
              	
$work_info = array();
while($row = mysqli_fetch_assoc($result)){
	$work_info[] = $row;
	}
foreach($work_info as $row){
	echo $row["work_id"];
	echo $row["work_name"];
}
		